package aop;

public class demo {
    public static void main(String[] args) {
        Main main = new Main(() -> {
            System.out.println("执行匿名内部类");
        });
        Main main1 = new Main(new T1());
        main.start();
        main1.start();
    }
}
